package synchronizedTest;
public class Count {
    private static int count;
      void add() {
          synchronized(this) {
              count++;
          }
          System.out.println("this: "+this);
    }
}
